package org.kumas.sgrpc.rpc;

import org.kumas.sgrpc.common.URL;
import org.kumas.sgrpc.remoting.RemotingServer;

public interface ProtocolServer {

    default RemotingServer getRemotingServer() {
        return null;
    }

    default void setRemotingServers(RemotingServer server) {
    }

    String getAddress();

    void setAddress(String address);

    default URL getUrl() {
        return null;
    }

    default void reset(URL url) {
    }

    void close();
}